package com.ydy.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.ydy.domain.Brand;
import com.ydy.domain.Goods;
import com.ydy.domain.GoodsKind;

public interface GoodsService {

	PageInfo<Goods> list(Goods g, Integer pageNum, Integer pageSize);

	Goods show(String id);

	List<Brand> getBrand();

	List<GoodsKind> getGoodsKind();

	void add(Goods g);

	void update(Goods g);

	int dels(Integer[] ids);

	

}
